package com.lichuang.fruitvarietysm.goods.service;

import com.lichuang.fruitvarietysm.goods.entity.Attribute;
import com.baomidou.mybatisplus.extension.service.IService;
import com.lichuang.fruitvarietysm.goods.entity.CategoryAttributeDTE;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author shuaihang
 * @since 2019-05-25
 */
public interface IAttributeService extends IService<Attribute> {
    /**
     * 根据分类id，查询相应的属性和值。
     * @param category_id
     * @param pid
     * @return
     */
    List<CategoryAttributeDTE> sCategoryAttributeDTES(@Param("category_id")Integer category_id, @Param("pid")Integer pid);

}
